<?php
session_start();
session_destroy();
echo "<script>localStorage.setItem('remeberMe',0);localStorage.setItem('username','');location.href='index.php';</script>";
